package validate

type RoleList struct {
	Limit  string `json:"limit" binding:"required"`
	Offset string `json:"offset" binding:"required"`
}

type RoleAdd struct {
	Name    string `json:"name" binding:"required"`
	Status  string `json:"status" binding:"required"`
	IsAdmin string `json:"is_admin" binding:"required"`
	Sort    string `json:"sort" binding:"required"`
}

type RoleInfo struct {
	Id string `json:"id" binding:"required"`
}

type RoleEdit struct {
	Id      string `json:"id" binding:"required"`
	Name    string `json:"name" binding:"required"`
	Status  string `json:"status" binding:"required"`
	IsAdmin string `json:"is_admin" binding:"required"`
	Sort    string `json:"sort" binding:"required"`
}
